package com.suse.common.base.model.param;

import com.suse.common.base.model.constant.PageConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 分页参数
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-08-11
 */
@Data
@ApiModel(value = "PageQueryParam",description = "分页查询参数")
public class PageQueryParam {

    @ApiModelProperty(value = "当前页")
    private Long current = PageConstant.DEFAULT_CURRENT;

    @ApiModelProperty(value = "每页大小")
    private Long size = PageConstant.DEFAULT_SIZE;

}
